package com.p2p.noc.Demo.DemoTest4;

public class Test {
    public static void main(String[] args) {
        Sunqihao s = new Sunqihao();
        s.setName("孙启浩");
        System.out.println(s.getName());
        s.sleeping();
        s.run();
        s.figth();
        s.eat();

        System.out.println("");

        Lihao l = new Lihao();
        l.setName("李昊");
        System.out.println(l.getName());
        l.sleeping();
        l.run();
        l.figth();
        l.eat();
    }
}
